package com.mca.framework.defaultAndStatic;

public class DSDemo2 {

    public static void main(String[] args) {
        //方法重写
        MyDSService service=new MyDSService() {
            @Override
            public String abstractMethod() {
                return null;
            }

            @Override
            public String defaultMethod() {
                return null;
            }
        };
    }
}
